package scheme;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

import util.TreeNode;

/**
 * @Classname BT
 * @Description 用户管理树BT
 * @Created by kevin
 */
public class UserManageBT {
    private List<TreeNode> BT; //用户管理树
    private List<TreeNode> MCS; //最小覆盖集
    private List<TreeNode> lastMCS; //最小覆盖集
    public UserManageBT() {
        BT = new ArrayList<TreeNode>();
        MCS = new ArrayList<TreeNode>();
        lastMCS = new ArrayList<TreeNode>();
    }
    public List<TreeNode> getBT() {
        return BT;
    }
    public void  setBT(List<TreeNode> BT) {
        this.BT = BT;
    }
    public List<TreeNode> getMCS() {
        return MCS;
    }
    public void  setMCS(List<TreeNode> MCS) {
        this.MCS = MCS;
    }
    public List<TreeNode> getLastMCS() {
        return lastMCS;
    }
    public void  setLastMCS(List<TreeNode> MCS) {
        this.lastMCS = MCS;
    }
    public void  updateMCS(List<TreeNode> MCS) {
        setLastMCS(this.MCS);
        this.MCS = MCS;
    }
}
